3.1.12 \(\int x (a+b x^3)^2 (A+B x^3) \, dx\)

Optimal. Leaf size=55 \[ \frac {1}{2} a^2 A x^2+\frac {1}{8} b x^8 (2 a B+A b)+\frac {1}{5} a x^5 (a B+2 A b)+\frac {1}{11} b^2 B x^{11} \]

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {448} \begin {gather*} \frac {1}{2} a^2 A x^2+\frac {1}{8} b x^8 (2 a B+A b)+\frac {1}{5} a x^5 (a B+2 A b)+\frac {1}{11} b^2 B x^{11} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x*(a + b*x^3)^2*(A + B*x^3),x]

[Out]

(a^2*A*x^2)/2 + (a*(2*A*b + a*B)*x^5)/5 + (b*(A*b + 2*a*B)*x^8)/8 + (b^2*B*x^11)/11

Rule 448

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Int[ExpandI
ntegrand[(e*x)^m*(a + b*x^n)^p*(c + d*x^n)^q, x], x] /; FreeQ[{a, b, c, d, e, m, n}, x] && NeQ[b*c - a*d, 0] &
& IGtQ[p, 0] && IGtQ[q, 0]

Rubi steps

\begin {align*} \int x \left (a+b x^3\right )^2 \left (A+B x^3\right ) \, dx &=\int \left (a^2 A x+a (2 A b+a B) x^4+b (A b+2 a B) x^7+b^2 B x^{10}\right ) \, dx\\ &=\frac {1}{2} a^2 A x^2+\frac {1}{5} a (2 A b+a B) x^5+\frac {1}{8} b (A b+2 a B) x^8+\frac {1}{11} b^2 B x^{11}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 55, normalized size = 1.00 \begin {gather*} \frac {1}{2} a^2 A x^2+\frac {1}{8} b x^8 (2 a B+A b)+\frac {1}{5} a x^5 (a B+2 A b)+\frac {1}{11} b^2 B x^{11} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x*(a + b*x^3)^2*(A + B*x^3),x]

[Out]

(a^2*A*x^2)/2 + (a*(2*A*b + a*B)*x^5)/5 + (b*(A*b + 2*a*B)*x^8)/8 + (b^2*B*x^11)/11

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x \left (a+b x^3\right )^2 \left (A+B x^3\right ) \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[x*(a + b*x^3)^2*(A + B*x^3),x]

[Out]

IntegrateAlgebraic[x*(a + b*x^3)^2*(A + B*x^3), x]

________________________________________________________________________________________

fricas [A]  time = 1.06, size = 53, normalized size = 0.96 \begin {gather*} \frac {1}{11} x^{11} b^{2} B + \frac {1}{4} x^{8} b a B + \frac {1}{8} x^{8} b^{2} A + \frac {1}{5} x^{5} a^{2} B + \frac {2}{5} x^{5} b a A + \frac {1}{2} x^{2} a^{2} A \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b*x^3+a)^2*(B*x^3+A),x, algorithm="fricas")

[Out]

1/11*x^11*b^2*B + 1/4*x^8*b*a*B + 1/8*x^8*b^2*A + 1/5*x^5*a^2*B + 2/5*x^5*b*a*A + 1/2*x^2*a^2*A

________________________________________________________________________________________

giac [A]  time = 0.15, size = 53, normalized size = 0.96 \begin {gather*} \frac {1}{11} \, B b^{2} x^{11} + \frac {1}{4} \, B a b x^{8} + \frac {1}{8} \, A b^{2} x^{8} + \frac {1}{5} \, B a^{2} x^{5} + \frac {2}{5} \, A a b x^{5} + \frac {1}{2} \, A a^{2} x^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b*x^3+a)^2*(B*x^3+A),x, algorithm="giac")

[Out]

1/11*B*b^2*x^11 + 1/4*B*a*b*x^8 + 1/8*A*b^2*x^8 + 1/5*B*a^2*x^5 + 2/5*A*a*b*x^5 + 1/2*A*a^2*x^2

________________________________________________________________________________________

maple [A]  time = 0.05, size = 52, normalized size = 0.95 \begin {gather*} \frac {B \,b^{2} x^{11}}{11}+\frac {\left (b^{2} A +2 a b B \right ) x^{8}}{8}+\frac {A \,a^{2} x^{2}}{2}+\frac {\left (2 a b A +a^{2} B \right ) x^{5}}{5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(b*x^3+a)^2*(B*x^3+A),x)

[Out]

1/11*b^2*B*x^11+1/8*(A*b^2+2*B*a*b)*x^8+1/5*(2*A*a*b+B*a^2)*x^5+1/2*a^2*A*x^2

________________________________________________________________________________________

maxima [A]  time = 0.61, size = 51, normalized size = 0.93 \begin {gather*} \frac {1}{11} \, B b^{2} x^{11} + \frac {1}{8} \, {\left (2 \, B a b + A b^{2}\right )} x^{8} + \frac {1}{5} \, {\left (B a^{2} + 2 \, A a b\right )} x^{5} + \frac {1}{2} \, A a^{2} x^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b*x^3+a)^2*(B*x^3+A),x, algorithm="maxima")

[Out]

1/11*B*b^2*x^11 + 1/8*(2*B*a*b + A*b^2)*x^8 + 1/5*(B*a^2 + 2*A*a*b)*x^5 + 1/2*A*a^2*x^2

________________________________________________________________________________________

mupad [B]  time = 0.04, size = 51, normalized size = 0.93 \begin {gather*} x^5\,\left (\frac {B\,a^2}{5}+\frac {2\,A\,b\,a}{5}\right )+x^8\,\left (\frac {A\,b^2}{8}+\frac {B\,a\,b}{4}\right )+\frac {A\,a^2\,x^2}{2}+\frac {B\,b^2\,x^{11}}{11} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(A + B*x^3)*(a + b*x^3)^2,x)

[Out]

x^5*((B*a^2)/5 + (2*A*a*b)/5) + x^8*((A*b^2)/8 + (B*a*b)/4) + (A*a^2*x^2)/2 + (B*b^2*x^11)/11

________________________________________________________________________________________

sympy [A]  time = 0.08, size = 54, normalized size = 0.98 \begin {gather*} \frac {A a^{2} x^{2}}{2} + \frac {B b^{2} x^{11}}{11} + x^{8} \left (\frac {A b^{2}}{8} + \frac {B a b}{4}\right ) + x^{5} \left (\frac {2 A a b}{5} + \frac {B a^{2}}{5}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b*x**3+a)**2*(B*x**3+A),x)

[Out]

A*a**2*x**2/2 + B*b**2*x**11/11 + x**8*(A*b**2/8 + B*a*b/4) + x**5*(2*A*a*b/5 + B*a**2/5)

________________________________________________________________________________________